package com.duixiang.lei.car;

public class TestCar {
    public static void main(String[] args) {
        Car car = new Car();
        car.setBrand("五菱宏光");
        car.setPrice(60000);
        car.setVariety("拉货用");
        System.out.println(car.getBrand()+car.getPrice()+car.getVariety());
        car.run();
        car.manned();
        System.out.println("------");
        System.out.println(car.toString());
    }
}
